Optimal. Leaf size=140 \[ x \left (a+b \text {sech}^{-1}(c x)\right )^3-\frac {6 b \left (a+b \text {sech}^{-1}(c x)\right )^2 \text {ArcTan}\left (e^{\text {sech}^{-1}(c x)}\right )}{c}+\frac {6 i b^2 \left (a+b \text {sech}^{-1}(c x)\right ) \text {PolyLog}\left (2,-i e^{\text {sech}^{-1}(c x)}\right )}{c}-\frac {6 i b^2 \left (a+b \text {sech}^{-1}(c x)\right ) \text {PolyLog}\left (2,i e^{\text {sech}^{-1}(c x)}\right )}{c}-\frac {6 i b^3 \text {PolyLog}\left (3,-i e^{\text {sech}^{-1}(c x)}\right )}{c}+\frac {6 i b^3 \text {PolyLog}\left (3,i e^{\text {sech}^{-1}(c x)}\right )}{c} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 140, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 6, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.600, Rules used = {6414, 5559,
4265, 2611, 2320, 6724} \begin {gather*} -\frac {6 b \text {ArcTan}\left (e^{\text {sech}^{-1}(c x)}\right ) \left (a+b \text {sech}^{-1}(c x)\right )^2}{c}+\frac {6 i b^2 \text {Li}_2\left (-i e^{\text {sech}^{-1}(c x)}\right ) \left (a+b \text {sech}^{-1}(c x)\right )}{c}-\frac {6 i b^2 \text {Li}_2\left (i e^{\text {sech}^{-1}(c x)}\right ) \left (a+b \text {sech}^{-1}(c x)\right )}{c}+x \left (a+b \text {sech}^{-1}(c x)\right )^3-\frac {6 i b^3 \text {Li}_3\left (-i e^{\text {sech}^{-1}(c x)}\right )}{c}+\frac {6 i b^3 \text {Li}_3\left (i e^{\text {sech}^{-1}(c x)}\right )}{c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2320
Rule 2611
Rule 4265
Rule 5559
Rule 6414
Rule 6724
Rubi steps
\begin {align*} \int \left (a+b \text {sech}^{-1}(c x)\right )^3 \, dx &=-\frac {\text {Subst}\left (\int (a+b x)^3 \text {sech}(x) \tanh (x) \, dx,x,\text {sech}^{-1}(c x)\right )}{c}\\ &=x \left (a+b \text {sech}^{-1}(c x)\right )^3-\frac {(3 b) \text {Subst}\left (\int (a+b x)^2 \text {sech}(x) \, dx,x,\text {sech}^{-1}(c x)\right )}{c}\\ &=x \left (a+b \text {sech}^{-1}(c x)\right )^3-\frac {6 b \left (a+b \text {sech}^{-1}(c x)\right )^2 \tan ^{-1}\left (e^{\text {sech}^{-1}(c x)}\right )}{c}+\frac {\left (6 i b^2\right ) \text {Subst}\left (\int (a+b x) \log \left (1-i e^x\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{c}-\frac {\left (6 i b^2\right ) \text {Subst}\left (\int (a+b x) \log \left (1+i e^x\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{c}\\ &=x \left (a+b \text {sech}^{-1}(c x)\right )^3-\frac {6 b \left (a+b \text {sech}^{-1}(c x)\right )^2 \tan ^{-1}\left (e^{\text {sech}^{-1}(c x)}\right )}{c}+\frac {6 i b^2 \left (a+b \text {sech}^{-1}(c x)\right ) \text {Li}_2\left (-i e^{\text {sech}^{-1}(c x)}\right )}{c}-\frac {6 i b^2 \left (a+b \text {sech}^{-1}(c x)\right ) \text {Li}_2\left (i e^{\text {sech}^{-1}(c x)}\right )}{c}-\frac {\left (6 i b^3\right ) \text {Subst}\left (\int \text {Li}_2\left (-i e^x\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{c}+\frac {\left (6 i b^3\right ) \text {Subst}\left (\int \text {Li}_2\left (i e^x\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{c}\\ &=x \left (a+b \text {sech}^{-1}(c x)\right )^3-\frac {6 b \left (a+b \text {sech}^{-1}(c x)\right )^2 \tan ^{-1}\left (e^{\text {sech}^{-1}(c x)}\right )}{c}+\frac {6 i b^2 \left (a+b \text {sech}^{-1}(c x)\right ) \text {Li}_2\left (-i e^{\text {sech}^{-1}(c x)}\right )}{c}-\frac {6 i b^2 \left (a+b \text {sech}^{-1}(c x)\right ) \text {Li}_2\left (i e^{\text {sech}^{-1}(c x)}\right )}{c}-\frac {\left (6 i b^3\right ) \text {Subst}\left (\int \frac {\text {Li}_2(-i x)}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{c}+\frac {\left (6 i b^3\right ) \text {Subst}\left (\int \frac {\text {Li}_2(i x)}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{c}\\ &=x \left (a+b \text {sech}^{-1}(c x)\right )^3-\frac {6 b \left (a+b \text {sech}^{-1}(c x)\right )^2 \tan ^{-1}\left (e^{\text {sech}^{-1}(c x)}\right )}{c}+\frac {6 i b^2 \left (a+b \text {sech}^{-1}(c x)\right ) \text {Li}_2\left (-i e^{\text {sech}^{-1}(c x)}\right )}{c}-\frac {6 i b^2 \left (a+b \text {sech}^{-1}(c x)\right ) \text {Li}_2\left (i e^{\text {sech}^{-1}(c x)}\right )}{c}-\frac {6 i b^3 \text {Li}_3\left (-i e^{\text {sech}^{-1}(c x)}\right )}{c}+\frac {6 i b^3 \text {Li}_3\left (i e^{\text {sech}^{-1}(c x)}\right )}{c}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Both result and optimal contain complex but leaf count is larger than twice
the leaf count of optimal. \(282\) vs. \(2(140)=280\).
time = 0.28, size = 282, normalized size = 2.01 \begin {gather*} a^3 x+3 a^2 b x \text {sech}^{-1}(c x)-\frac {3 a^2 b \text {ArcTan}\left (\frac {c x \sqrt {\frac {1-c x}{1+c x}}}{-1+c x}\right )}{c}+\frac {3 i a b^2 \left (\text {sech}^{-1}(c x) \left (-i c x \text {sech}^{-1}(c x)+2 \log \left (1-i e^{-\text {sech}^{-1}(c x)}\right )-2 \log \left (1+i e^{-\text {sech}^{-1}(c x)}\right )\right )+2 \text {PolyLog}\left (2,-i e^{-\text {sech}^{-1}(c x)}\right )-2 \text {PolyLog}\left (2,i e^{-\text {sech}^{-1}(c x)}\right )\right )}{c}+\frac {b^3 \left (c x \text {sech}^{-1}(c x)^3-3 i \left (-\text {sech}^{-1}(c x)^2 \left (\log \left (1-i e^{-\text {sech}^{-1}(c x)}\right )-\log \left (1+i e^{-\text {sech}^{-1}(c x)}\right )\right )-2 \text {sech}^{-1}(c x) \left (\text {PolyLog}\left (2,-i e^{-\text {sech}^{-1}(c x)}\right )-\text {PolyLog}\left (2,i e^{-\text {sech}^{-1}(c x)}\right )\right )-2 \left (\text {PolyLog}\left (3,-i e^{-\text {sech}^{-1}(c x)}\right )-\text {PolyLog}\left (3,i e^{-\text {sech}^{-1}(c x)}\right )\right )\right )\right )}{c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \left (a +b \,\mathrm {arcsech}\left (c x \right )\right )^{3}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a + b \operatorname {asech}{\left (c x \right )}\right )^{3}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left (a+b\,\mathrm {acosh}\left (\frac {1}{c\,x}\right )\right )}^3 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________